package com.productssite.dao;

import java.util.List;

import com.productssite.model.ProductCategory;

public interface ProductCategoryDao {

	public void save(ProductCategory transientInstance);

	public void delete(ProductCategory persistentInstance);

	public ProductCategory findById(java.lang.Integer id);

	public List<ProductCategory> findByExample(ProductCategory instance);

	public List<ProductCategory> findByCategoryName(String categoryName);

	public List<ProductCategory> findAll();

	public void update(ProductCategory detachedInstance);

}